package com.nursebetty.server;

import com.nursebetty.server.common.UserProfile;
import com.nursebetty.server.model.BloodPressure;
import com.nursebetty.server.model.Glucoss;
import com.nursebetty.server.model.WeightLost;
import com.nursebetty.server.service.BloodPressureService;
import com.nursebetty.server.service.GlucossService;
import com.nursebetty.server.service.WeightLostService;
import com.nursebetty.server.service.impl.BloodPressureServiceImpl;
import com.nursebetty.server.service.impl.GlucossServiceImpl;
import com.nursebetty.server.service.impl.WeightLostServiceImpl;

public class Main {

	/**
	 * @param user
	 * @param bloodPressure
	 */
	public void saveBloodPressure(UserProfile user, BloodPressure bloodPressure) {
		BloodPressureService bloodPressureService = new BloodPressureServiceImpl();
		bloodPressureService.saveBloodPressure(user, bloodPressure);

	}

	/**
	 * @param bloodPressure
	 * @return
	 */
	public String getResults(BloodPressure bloodPressure) {
		BloodPressureService bloodPressureService = new BloodPressureServiceImpl();
//		return bloodPressureService.getResults(bloodPressure);
		return null;

	}

	/**
	 * @param bloodPressure
	 * @param user
	 * @param Result
	 * @return
	 */
	public String saveResults(BloodPressure bloodPressure, UserProfile user, String Result) {
		BloodPressureService bloodPressureService = new BloodPressureServiceImpl();
		return bloodPressureService.saveResults(bloodPressure, user, Result);

	}

	/**
	 * @param glucoss
	 * @return
	 */
	public String getResults(Glucoss glucoss) {
		GlucossService GlucossService = new GlucossServiceImpl();

//		return GlucossService.getResults(glucoss);
		return null;
	}

	/**
	 * @param glucoss
	 * @param user
	 * @param Result
	 * @return
	 */
	public String saveResults(Glucoss glucoss, UserProfile user, String Result) {

		GlucossService GlucossService = new GlucossServiceImpl();

		return GlucossService.saveResults(glucoss, user, Result);
	}

	/**
	 * @param user
	 * @param glucoss
	 */
	public void saveWeightLost(UserProfile user, WeightLost weightLost) {

		WeightLostService weightLostService = new WeightLostServiceImpl();

		weightLostService.saveWeightLost(user, weightLost);
	}

	/**
	 * @param weightLost
	 * @return
	 */
	public String getResults(WeightLost weightLost) {

		WeightLostService weightLostService = new WeightLostServiceImpl();

//		return weightLostService.getResults(weightLost);
		return null;
	}

	/**
	 * @param glucoss
	 * @param user
	 * @param Result
	 * @return
	 */
	public String saveResults(WeightLost weightLost, UserProfile user, String Result) {

		WeightLostService weightLostService = new WeightLostServiceImpl();

		return weightLostService.saveResults(weightLost, user, Result);
	}
}
